<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        /*img{
            vertical-align: bottom;
        }

        div{
            width: 300px;
            height: 300px;
            border: 1px skyblue  solid;
        }
        input{
            vertical-align: top;
        }*/
        div{
            border: 1px skyblue solid;
        }
        img{
            vertical-align: bottom;
        }
    </style>
</head>
<body>
<input type="text"> <button>按钮</button>
<br>
<br>
<div>
    <img src="./img/java.png" alt="">
</div>
</body>
</html>